/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.commodity.vo;

import io.swagger.annotations.ApiModelProperty;
import org.springblade.modules.commodity.entity.Commodity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import org.springblade.modules.commodity.entity.CommodityParams;

import java.util.List;
import java.util.Map;

/**
 * 商品表视图实体类
 *
 * @author Blade
 * @since 2021-01-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "CommodityVO对象", description = "商品表")
public class CommodityVO extends Commodity {
	private static final long serialVersionUID = 1L;

	/**
	 * 商品规格List
	 */
	@ApiModelProperty(value = "商品规格List")
	private List<Map<String,Object>> specsList;

	/**
	 * 商品价格List
	 */
	@ApiModelProperty(value = "商品价格List")
	private List<String> priceList;

	/**
	 * 商品价格范围
	 */
	@ApiModelProperty(value = "商品价格范围")
	private String priceRange;

	/**
	 * 商品详细规格
	 */
	@ApiModelProperty(value = "商品详细规格")
	private CommodityParams commodityParams;
}
